package com.org.cys.service.system;

import com.org.cys.pojo.base.Page;
import com.org.cys.util.PageData;
import java.util.List;

/**
 *  t_system_role Service接口
 *	@author caiyushen
 */
 
public interface RoleService{
	
	/**
	 * 装载Role
	 * @param PageData
	 * @return
	 * @throws Exception 
	 * */
	 PageData getEntityById(PageData pd) throws Exception;
	
	/**
	 * 保存Role
	 * @param PageData
	 * @throws Exception
	 * */
	 void save(PageData pd) throws Exception;
	
	/**
	  * 批量保存Role
	  * @param PageData
	  * @throws Exception
	  * */
	 void saveBatch(List<PageData> pdList) throws Exception;
	
	
	/**
	 * 更新Role
	 * @param PageData
	 * @throws Exception
	 * */
	 void update(PageData pd) throws Exception;
	
    
	/**
	 * 删除Role
	 * @param PageData
	 * @throws Exception
	 * */
	 void delete(PageData pd) throws Exception;
	
	/**
	 * Role列表
	 * @param PageData
	 * @throws Exception
	 * */
	 List<PageData> dataList(Page page) throws Exception;
	
	/**
	 * 获取所有Role数据
	 * @param PageData
	 * @throws Exception
	 * */
	 List<PageData> listAll(PageData pd) throws Exception;
	
}
 



